type github.com/lucasb-eyer/go-colorful.lab_t
12 uses
github.com/lucasb-eyer/go-colorful (current package)
soft_palettegen.go#L13: type lab_t struct {
soft_palettegen.go#L37: check := func(col lab_t) bool {
soft_palettegen.go#L50: samples := make([]lab_t, 0, int(1.0/dl*2.0/dab*2.0/dab))
soft_palettegen.go#L54: if check(lab_t{l, a, b}) {
soft_palettegen.go#L55: samples = append(samples, lab_t{l, a, b})
soft_palettegen.go#L70: means := make([]lab_t, colorsCount)
soft_palettegen.go#L104: newmean := lab_t{0.0, 0.0, 0.0}
soft_palettegen.go#L163: func in(haystack []lab_t, upto int, needle lab_t) bool {
soft_palettegen.go#L174: func lab_eq(lab1, lab2 lab_t) bool {
soft_palettegen.go#L182: func lab_dist(lab1, lab2 lab_t) float64 {
soft_palettegen.go#L186: func labs2cols(labs []lab_t) (cols []Color) {